package com.jdzu.model.entity.user;

import com.jdzu.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;


@Schema(description = "学生信息实体类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StudentInfo extends BaseEntity {

    @Schema(description = "学生ID")
    private Integer stuId;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "性别, 0表示女, 1表示男")
    private Byte gender;

    @Schema(description = "民族")
    private String ethnicity;

    @Schema(description = "身份证号码")
    private String identityNumber;

    @Schema(description = "政治面貌")
    private String politicalAffiliation;

    @Schema(description = "学校名称")
    private String schoolName;

    @Schema(description = "学习形式")
    private String studyForm;

    @Schema(description = "系所")
    private String department;

    @Schema(description = "学习历别")
    private String studyLevel;

    @Schema(description = "专业")
    private String major;

    @Schema(description = "班级")
    private String className; // `class` 是 Java 的关键字，改为 `className`

    @Schema(description = "在岗职务")
    private String position;

    @Schema(description = "学号")
    private String studentNumber;

    @Schema(description = "手机号码")
    private String phoneNumber;

    @Schema(description = "在籍状态")
    private Byte enrollmentStatus;

    @Schema(description = "入学日期")
    private LocalDate entryDate;

    @Schema(description = "预计毕业日期")
    private LocalDate expectedGraduationDate;

    @Schema(description = "微信号")
    private String wechat;

    @Schema(description = "QQ号")
    private String qq;

    @Schema(description = "微博")
    private String weibo;

    @Schema(description = "电子邮箱")
    private String email;

}
